<template>
  <hcTab v-model="activeTab" :head="head" :keep-alive="true"></hcTab>
</template>
<script setup>
import User from "./user/index.vue";
import Role from "./role/index.vue";
import Menu from "./menu/index.vue";
import { ref } from "vue";
let head = [
  { id: "user", text: "用户管理", component: User },
  { id: "role", text: "角色管理", component: Role },
  { id: "menu", text: "菜单管理", component: Menu },
];
let activeTab = ref("user");
</script>
<style lang="scss" scoped></style>
